package com.erp.fin.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.erp.fin.dao.BillingFileDao;
import com.erp.fin.domain.BillingFileDO;
import com.erp.fin.service.BillingFileService;



@Service
public class BillingFileServiceImpl implements BillingFileService {
	@Autowired
	private BillingFileDao billingFileDao;
	
	@Override
	public BillingFileDO get(Long id){
		return billingFileDao.get(id);
	}
	
	@Override
	public List<BillingFileDO> list(Map<String, Object> map){
		return billingFileDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return billingFileDao.count(map);
	}
	
	@Override
	public int save(BillingFileDO billingFile){
		return billingFileDao.save(billingFile);
	}
	
	@Override
	public int update(BillingFileDO billingFile){
		return billingFileDao.update(billingFile);
	}
	
	@Override
	public int remove(Long id){
		return billingFileDao.remove(id);
	}
	
	@Override
	public int batchRemove(Long[] ids){
		return billingFileDao.batchRemove(ids);
	}
	
}
